﻿<phone:PhoneApplicationPage 
	x:Class="Bango.WindowsPhone7_5.TestApp.MainPage"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	SupportedOrientations="Portrait" Orientation="Portrait"
	shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" d:DesignHeight="768" d:DesignWidth="480">

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>

		<!--TitlePanel contains the name of the application and page title-->
		<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
			<TextBlock x:Name="lblTitle" Text="Bango Test App" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" FontSize="64" Height="89" />
		</StackPanel>

		<!--ContentPanel - place additional content here-->
		<Grid x:Name="ContentPanel" Margin="12,105,12,0" Grid.RowSpan="2">
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,112,0,0" Name="lblEventName" Text="EventName:" VerticalAlignment="Top" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="121,96,0,0" Name="txtEventName" Text="" VerticalAlignment="Top" Width="329" />
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,171,0,0" Name="lblEventValue" Text="Event Value:" VerticalAlignment="Top" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="121,155,0,0" Name="txtEventValue" Text="" VerticalAlignment="Top" Width="329" />
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,230,0,0" Name="lblEventDetail" Text="Event Detail:" VerticalAlignment="Top" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="121,213,0,0" Name="txtEventDetail" Text="" VerticalAlignment="Top" Width="329" />
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,291,0,0" Name="lblParam1" Text="Parameter 1:" VerticalAlignment="Top" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="121,274,0,0" Name="txtParamName1" Text="" VerticalAlignment="Top" Width="176" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="291,275,0,0" Name="txtParamValue1" Text="" VerticalAlignment="Top" Width="159" />
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,351,0,0" Name="lblParam2" Text="Parameter 2:" VerticalAlignment="Top" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="121,334,0,0" Name="txtParamName2" Text="" VerticalAlignment="Top" Width="176" />
			<TextBox Height="67" HorizontalAlignment="Left" Margin="291,334,0,0" Name="txtParamValue2" Text="" VerticalAlignment="Top" Width="159" />
			<Button Content="LV Start" Height="72" HorizontalAlignment="Left" Margin="0,387,0,0" Name="btnLiveVideoStart" VerticalAlignment="Top" Width="160" Click="btnLiveVideoStart_Click" />
			<Button Content="LV Stop" Height="72" HorizontalAlignment="Left" Margin="137,387,0,0" Name="btnLiveVideoStop" VerticalAlignment="Top" Width="160" Click="btnLiveVideoStop_Click" />
			<Button Content="Search" Height="72" HorizontalAlignment="Left" Margin="274,387,0,0" Name="btnSearch" VerticalAlignment="Top" Width="160" Click="btnSearch_Click" />
			<Button Content="OD Start" Height="72" HorizontalAlignment="Left" Margin="0,436,0,0" Name="btnOnDemandVideoStart" VerticalAlignment="Top" Width="160" Click="btnOnDemandVideoStart_Click" />
			<Button Content="OD Stop" Height="72" HorizontalAlignment="Left" Margin="137,436,0,0" Name="btnOnDemandVideoStop" VerticalAlignment="Top" Width="160" Click="btnOnDemandVideoStop_Click" />
			<Button Content="P View" Height="72" HorizontalAlignment="Left" Margin="274,436,0,0" Name="btnPageView" VerticalAlignment="Top" Width="160" Click="btnPageView_Click" />
			<Button Content="Idle" Height="72" HorizontalAlignment="Left" Margin="0,486,0,0" Name="btnIdle" VerticalAlignment="Top" Width="160" Click="btnIdle_Click" />
			<Button Content="Resume" Height="72" HorizontalAlignment="Left" Margin="137,486,0,0" Name="btnResume" VerticalAlignment="Top" Width="160" Click="btnResume_Click" />
			<Button Content="Log" Height="72" HorizontalAlignment="Left" Margin="274,486,0,0" Name="btnLog" VerticalAlignment="Top" Width="160" Click="btnLog_Click" />
			<Button Content="Reset" Height="72" HorizontalAlignment="Left" Margin="0,536,0,0" Name="btnReset" VerticalAlignment="Top" Width="160" Click="btnReset_Click" />
			<Button Content="Clear" Height="72" HorizontalAlignment="Left" Margin="137,536,0,0" Name="btnClear" VerticalAlignment="Top" Width="160" Click="btnClear_Click" />
			<Button Content="Error" Height="72" HorizontalAlignment="Right" Margin="0,536,22,0" Name="btnError" VerticalAlignment="Top" Width="160" Click="btnError_Click" />
			<Button Content="Post Now" Height="72" HorizontalAlignment="Left" Margin="0,596,0,0" Name="btnPostNow" VerticalAlignment="Top" Width="226" Click="btnPostNow_Click" />
			<Button Content="View Batch" Height="72" HorizontalAlignment="Left" Margin="207,596,0,0" Name="btnViewBatch" VerticalAlignment="Top" Width="227" Click="btnViewBatch_Click" />
			<CheckBox Height="72" HorizontalAlignment="Left" Margin="121,44,0,0" Name="chkUserAgent" VerticalAlignment="Top" IsChecked="False" Content="supply user agent?" Checked="chkUserAgent_Checked" Unchecked="chkUserAgent_Unchecked" />
			<TextBlock Height="30" HorizontalAlignment="Left" Margin="10,67,0,0" Name="lblUserAgent" Text="User Agent:" VerticalAlignment="Top" />
			<TextBlock x:Name="lblMemory" Text="Memory Usage" Style="{StaticResource PhoneTextNormalStyle}" Margin="10,-4,2,632" Height="35" />
			<TextBlock Height="35" Margin="10,28,2,600" Name="lblTime" Style="{StaticResource PhoneTextNormalStyle}" Text="Times" />
		</Grid>
	</Grid>
 
	<!--Sample code showing usage of ApplicationBar-->
	<!--<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
			<shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
			<shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
			<shell:ApplicationBar.MenuItems>
				<shell:ApplicationBarMenuItem Text="MenuItem 1"/>
				<shell:ApplicationBarMenuItem Text="MenuItem 2"/>
			</shell:ApplicationBar.MenuItems>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>